<%@ page language="java" import="com.alibaba.fastjson.JSONObject" pageEncoding="UTF-8" %>
<%@ page import="weaver.conn.RecordSet" %>
<%@ page import="weaver.general.Util" %>
<%--判断流程状态--%>
<%
    String userid = Util.null2String(request.getParameter("userid"));
    JSONObject jsonData = new JSONObject();
    RecordSet rs = new RecordSet();
    String sql ="select workcode from hrmresource where id=?";
    rs.executeQuery( sql, userid);
    rs.next();
    String workcode = Util.null2String( rs.getString("workcode") );
    jsonData.put( "workcode", workcode );
    out.print( jsonData.toJSONString() );
%>






